from selenium import webdriver
from time import sleep
import unittest
from Page.Page import Page

class TestCase(unittest.TestCase):
    def setUp(self):
        self.driver = webdriver.Edge()
        self.driver.maximize_window()

    def tearDown(self):
        sleep(3)
        self.driver.quit()
        print('结束')

    def test_login(self):
        po = Page(self.driver)
        po.test_luoji_1()

if __name__ == '__main__':
    unittest.main()